package com.ztjy.statis.dao;

import com.ztjy.bean.CustomStatis;
import com.ztjy.bean.FirmStatis;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface FirmStatisDao {
    /**
     * 查询厂商统计
     * @param firmStatis
     * @return
     */
    public List<FirmStatis> findAllFirmStatis(FirmStatis firmStatis);

    /**
     * 根据厂商id查找厂商订购信息
     * @return
     */
    public List<FirmStatis> findFirmstatisById(Integer id);

    /**
     * 饼状图
     * @return
     */
    public List<FirmStatis> findbingzhuangtu();
}
